package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.domain.PmsProductCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.PmsProductCategoryWithChildrenItem;

import java.util.List;

/**
 * <p>
 * 产品分类 服务类
 * </p>
 *
 * @author zhuguo
 * @since 2022-11-10
 */
public interface PmsProductCategoryService extends IService<PmsProductCategory> {

    PageResult pageByParentId(Integer parentId, Integer pageNum, Integer pageSize);

//    List<PmsProductCategoryWithChildrenItem> getWithChildren();

    List<PmsProductCategory> findAll();
}
